Document classification toolbar

ABSTRACT

Electronic document classification is disclosed. A toolbar adds the ability to classify documents based on specific properties such as security classification, information type, document type, document retention, document caveats, and the like associated. The toolbar through dropdown selections allows users to select the appropriate classification and properties based upon the content of the document and have appropriate classifiers added to the document. Document classification properties are generated that are associated with the document in the document properties and by inserting visual markings that allow users to quickly identify the security, sensitivity, intended distribution or retention. By utilizing the classification toolbar a user can classify an document by one or more classification levels and be ensured that the classification will be visible to any person viewing the document.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority from U.S. provisional application No. 60/863,067 filed Oct. 26, 2006 which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to computer systems and software, and in particular to electronic document management and security using a document classification toolbar.

BACKGROUND

Electronic documents commonly used in the corporate and government environments are generated being word processing applications, spreadsheets, slide presentations, the most common being MICROSOFT OFFICE™ application suite. With today's pervasive networking systems such as local area networks (LANs), wide area networks (WANs) and the Internet, and software tools such as e-mail, it is very easy for individuals to move these documents around to different computers, computer systems and other individuals without little or no thought as to the sensitivity of the content contained therein. As a matter of security in the electronic workplace there is therefore a need to classify, manage and control the creation and flow of documents, e-mail correspondence and the like.

Some document management solutions allow the user to associate classifications to a document when a document is added to a document management repository governed by document management systems. These classification properties are stored in the document library database and are not actually attached to the document itself and are dependent on the document management system for identification and enforcement.

When a document is removed from the document management repository and sent to or shared with someone, it loses the associated properties because the properties are not part of the document. The classification may not also be visible on any printed copies of the document itself. As a result, the person receiving the document has no easy way to identify the classification of the document, and they therefore do not know what limitations should be placed on the handling and distribution of the document. In addition, compliance systems verifying the handling or distribution of the document have no way to decide what to do with the document as there are no properties attached to the document and potential contained in the document itself.

There is therefore a need for an improved classification and management system for electronic documents.

SUMMARY

In an aspect there is provided a method for document classification in a document creation application comprising the steps: providing a classification toolbar within a document in the document creation application, the classification toolbar providing at least a first classification selection input; populating classification selections in the classification toolbar based upon pre-defined classification criteria; receiving a classification selection input, selected by a user, from the classification selections populated in the toolbar; determining if classification input is valid based upon administrator defined classification policy; applying visual cues to the document to identify that the document has been classified; and assigning XML classification properties to the document metadata based upon the classification selections when the classification input is valid.

In accordance with another aspect there is provided a method for document classification in a document creation application comprising the steps: providing a classification toolbar within the document, the classification toolbar providing at least a first classification selection input; populating classification selections in the classification toolbar based upon pre-defined classification criteria; receiving identification of a selected text portion of the document from a user; receiving a portion classification selection input, selected by the user, from the classification selections populated in the toolbar; determining if portion classification input is valid based upon administrator defined classification policy; applying visual cues to the document to identify a portion of the document has been classified; applying visual markers identifying the selected classification at the beginning and end of the portion that has been classified; and applying XML properties within the document representing the classification of the portions.

In accordance with yet another aspect there is provided a computer readable medium containing instructions for providing document classification in a document creation application, the instructions which when executed by a processor perform the steps of providing a classification toolbar within a document in the document creation application, the classification toolbar providing at least a first classification selection input; populating classification selections in the classification toolbar based upon pre-defined classification criteria; receiving a classification selection input, selected by a user, from the classification selections populated in the toolbar; determining if classification input is valid based upon administrator defined classification policy; applying visual cues to the document to identify that the document has been classified; and assigning XML classification properties to the document metadata based upon the classification selections when the classification input is valid.

In accordance with still yet another aspect there is provided a computer readable medium containing instructions for providing document classification in a document creation application, the instruction which when executed by a processor perform the steps of: providing a classification toolbar within the document, the classification toolbar providing at least a first classification selection input; populating classification selections in the classification toolbar based upon pre-defined classification criteria; receiving identification of a selected text portion of the document from a user; receiving a portion classification selection input, selected by the user, from the classification selections populated in the toolbar; determining if portion classification input is valid based upon administrator defined classification policy; applying visual cues to the document to identify a portion of the document has been classified; applying visual markers identifying the selected classification at the beginning and end of the portion that has been classified; and applying XML properties within the document representing the classification of the portions.

Other aspects and features will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiment of the invention in conjunction with the accompanying figures.

BRIEF DESCRIPTION OF THE DRAWINGS

Further features and advantages will become apparent from the following detailed description, taken in combination with the appended drawings, in which:

FIG. 1 shows a block diagram of a document classification system architecture;

FIG. 2 shows a schematic representation of a high level client architecture for implementing a document classification toolbar;

FIG. 3 shows a classification toolbar providing project classification;

FIG. 4 shows a classification toolbar providing retention;

FIG. 5 shows document containing classification criteria;

FIG. 6 shows document classification metadata properties;

FIG. 7 shows a hierarchical tree in a Windows registry;

FIG. 8 shows a document classification administration tool;

FIGS. 9 and 10 show a method for executing a classification toolbar and generating an document containing classification properties;

FIG. 11 shows a method for executing a classification toolbar for classification marking a portion of a document;

FIG. 12 shows XML document classification properties;

FIG. 13 shows a portion of the document of FIG. 5 in XML and the identifying classification and portion marking; and

FIG. 14 shows an illustration of dynamic toolbar population.

It will be noted that throughout the appended drawings, like features are identified by like reference numerals.

DETAILED DESCRIPTION

Embodiments are described below, by way of example only, with reference to FIGS. 1-14.

Due to compliance legislation such as the Sarbanes-Oxley Act in the United States (or more precisely, the Public Company Accounting Reform and Investor Protection Act of 2002), policies such as the Health Insurance Portability and Accountability Act (HIPAA), or other legal or corporate guidelines there is a need for greater security of information. Companies need to be able to determine the classification of documents so that their employees will handle information correctly in terms of privacy, security, distribution and retention. The best way to do this is to generate recognizable classification properties and visual markers in the documents when they are being created so that everyone will know the level of sensitivity of the documents and how to handle them.

By creating classification criteria metadata properties inserted in a document travel with the document and also allow automatic processes to check the handling of the document. For example, a messaging gateway or content scanner can verify the classification of documents being sent out of the company via e-mail for any violations of policy. In addition classification criteria can allow the automatic insertion of to visual cues to identify the associated classification in a standard manner. Heretofore, this cannot be done with productivity suites such as MICROSOFT™ OFFICE™ software, ADOBE™ ACROBAT, OPENOFFICE™, COREL™ WORDPERFECT™ OFFICE and VISIO™. Most document creation applications allow users to add optional properties to the document such as Title, Author, Subject, but cannot force the user to enter any properties before a document is saved or enforce classification standards. The document classification system described herein can force the user to select classification properties to be associated with the document, or portions therein, in addition to providing visual cues inserted within the document in standard format to ensure classification properties are appropriately identified and transmitted. Automatic insertion of visual markings in document including headers and footers in addition to advanced formatting capabilities which allow the user to apply the classification markings to specific areas of the header and footer (left justified, center, right justified etc.) to provide a consistent level of visibility not previously available. Custom properties that are associated with the document travel with the document and reflect the classification of the document can be integrated with rights management systems to limit access and distribution of document based upon the associated classification.

Event driven logic is utilized to force user to classify a documents before saving, sending or printing as described in more detail below. In addition to providing overall document classification, portions of the document can be classified at a different level than the document classification with unique classification markings associated to clearly identify the selected portion. All SAVE, PRINT and SEND events are interpreted within the document productivity software and ensure that classification selections have been made before these actions. Prevention or warning can be displayed when the user attempts to downgrade a classification of a document. In the downgrade prevent mode, if the user tries to downgrade the classification, for example from SECRET to UNCLASSIFIED, they can be prevented based upon the existing properties associated with it. Alternatively the document can be automatically classified based on the users profile. For example, all users in the finance department could be configured to automatically apply a classification of FINANCIAL INFO to all their documents. Visual markings within the document such as header, footer or watermarks can be automatically inserted based upon the selected classification.

Context sensitive classification selections which change based on user selection can also be provided by the toolbar. For example, if the user selects CONFIDENTIAL as a classification they can then be prompted to indicate which department generated the confidential information and how long the information should be retained as a corporate record.

FIG. 1 provides a high level overview environment in which classification toolbars can be utilized. A user selects 114 classifications for a document via toolbar extensions to the office software applications such as MICROSOFT WORD™, EXCEL™, POWERPOINT™ or ADOBE ACROBAT™ etc. executed by computers 108, 110 and 112 having processors and memory which are operated by users 114, 116 and 118 respectively. The client may be a personal computer, notebook computer or portable computing device such a mobile phone or personal digital assistant (PDA) device. In a networked environment the clients 108, 110, 112 can access a storage or document management server 104 through a network 102 such as the internet. The server 104 can provide access to a storage device 106 containing documents. The storage device 106 may also contain computer readable code required to implement the toolbar on clients 108, 110 and 112. Alternative the computers 108, 110 and 112 may have local storage for documents and computer executable code.

Classification selection enables the automatic creation of properties that will travel with the document and may be enforced by document classification software either residing on the computer 108, 110, or 112, or by a central server 104. Trusted label support provides verification that classification of the document has not been modified (tampered with) which can be done by calculating a hash of the document properties on saving and recalculating the hash on re-opening of the document by the software operating on the client. In addition, the classification policy allows users to search a network or PC for documents with specific classifications. Automatic logging may be provided for all classification actions by the user can be provided which can be used to audit user compliance. For example all classification warnings, classification errors, or all classification events (who classified, when classification properties were assigned, name of document etc) can be logged and reviewed by an administrator. Digital rights management policies such as Windows No Print or No Change can also be applied and controlled.

FIG. 2 describes the high level client architecture for implementing document classification toolbar. In this example, applications such as Word, Excel, PowerPoint, Acrobat applications 202 are implemented in the computing environment. The development environment in this case is application programming interface (API) 204 such as Component Object Model (COM) programming interface utilized in or APIs utilized in MICROSOFT OFFICE™ or APIs utilized in ADOBE™. The end user interface 206 presents a composition screen or editing interface. The document classification is built by programming in the COM programming interface to accommodate a classification toolbar 208 presented to the user when composing a document. The toolbar may be implemented in a traditional toolbar approach or in the ribbon toolbar as provided in MICROSOFT OFFICE™ 2007 applications. The classification toolbar 208 can be composed of several components, some presented to the user while others components provide additional functionality in regards to the classification process itself. For example, classification 210 selections may be presented to the user, as will be described in more detail. Classification policies 212 may be enforced based upon rules relative to the classification associated with the document, for example, certain classifications may limit who the has privileges to access, read, edit, save, print the document. Visual markings 214 may also be included in the document based on the classification, as will be discussed in more detail below, and events related to changes in classification may be logged 216 for access by an administrator.

FIG. 3 shows a document classification toolbar 300 utilized when creating or editing documents. By selecting classification criteria via the toolbar, users can assign visual markers to the document in addition to assigning classification properties. The classification toolbar 300 is added to the application in which the document is being edited to enable the user to select classifications to be associated with the document or portions of the document therein. In this example first level classification criteria entry menu 302 and a secondary classicisation criteria menu defining project 306 classifications are provided. In the classification menu 302, classifications criteria 304 such as for example a Sensitivity or Security level such as Unclassified, Confidential, Restricted, Internal Use Only, Secret, etc. can be selected by the user. Other levels of classification can be introduced such as secondary classification 306 to indicate the appropriate project 308 or department name such as Sales Strategy, Sales Forecast, Sales Plan, etc. or distribution such as Executive Only, Senior Managers only etc. and the like. Any type of classification category can be utilized including but not limited to project, case number, file number, patient number, customer number, program name or number, etc.

The collection of classification properties can be context sensitive and the selections are configurable. For example, if the user selects Confidential as the security classification, they could then be prompted for a retention property or a distribution property. On the other hand, if the user selects Unclassified as the document type, there would be no need to collect any other classification properties. As an example, the classification collection logic could be implemented as follows:

IF  First Level Selection is CONFIDENTIAL THEN  DISPLAY Second Level RETENTION selection ELSE  NO MORE CLASSIFICATIONS

This example can be extended to many levels of classification allowing the organizations to collect many classification properties for each document. The toolbar is built dynamically based on the user selections. As an example of a possible configuration, if the user selected a sensitivity of PERSONAL, no other selections are necessary. If the user selects a sensitivity of COMPANY CONFIDENTIAL the toolbar is dynamically configured to further prompt the user for the allowed distribution of the document (e.g. LEGAL DEPT ONLY). In this way the toolbar can expand as the user is entering the classification information. Only subsequent classification criteria associated with the first selection is dynamically presented in the toolbar as will be discussed in connection with FIG. 14.

FIG. 4 shows classification toolbar 400 in which the first classification 402 is related to the security of the document while the second classification selection 404 defines the retention policy to be associated with the document. For example the document may have a retention-based model to classify the information to enforce retention with labels such as Personal, Retain for 90 days, Retain for 1 Year, or Corporate Correspondence. After classifications are assigned to the document, the document can be saved. Third party archiving and retention systems utilized the classification selection to determine if or how to retain a corporate document based on the Retention property assigned.

It should be understood that although on two classification criteria are shown each in FIGS. 3 and 4, a toolbar may present multiple classification criteria for selection by the user.

FIG. 5 shows a word processing application 500, in this example MICROSOFT WORD™ containing document 520 is shown utilizing a ribbon toolbar presentation. Toolbar 502 extends vertically within the application presenting the classification criteria to be selected by the user and applied to the document in contrast to the horizontal toolbar for FIGS. 3 & 4. The toolbar 502 presents a security classification criteria menu 504, a ‘caveat’ criteria menu 506, a ‘derived’ from menu 508 and an additional field 510 for entry of the classifying user. The classification criteria, as they are selected, can result in the application of visual cues to the text and images contained in the document 520. In this example, a header 522 is added which identifies the selected classification criteria. In addition, the classification scheme associated with the selected classification can add a watermark to the document 524, which in this example identifies the document as “SECRET”. Automatic insertion of the author's user name in the document watermark can also be provided based upon the currently logged on user's name can be retrieved from the operating system and inserted into the document watermark.

Context sensitive text such as disclaimers can be added within the document body or within the header of footer portions. These disclaimers can be intelligently added to be tailored to the classification of the document and the associated content. For example, if UNCLASSIFIED was the selected classification the following text could be appended “This document is the property of XXX Corp. If you are not the intended recipient of the document please note the originator”, whereas a different postfix such as “This document has been marked as Confidential to XXX Corp. Unauthorized reproduction or transmission of the document is prohibited” if the classification selected was CONFIDENTIAL. Visual cues such as font characteristics can also be used in the added text for instance color, special fonts, font size, or formatting (table etc) can all be applied to text.

Portions of the document content may also be classified independently of the overall document, however when a portion classification is selected which is higher then the document selection, the document properties may be upgraded to match the selection, such as for example a security or sensitivity related criteria. In document 520, paragraph 526 is selected by the user for individual classification. By making selections using toolbar 502, visual cues 528 and 530 can be added within the document to clearly identify the associate classification criteria. In this example a classification of SECRET has been selected and a caveat RelToUSA_CAN which is not the same as the current selected document caveat RelToNATO. The classification markings for portions are represented within the document as Extensible Markup Language (XML) properties of the document as shown in FIG. 13. In the case or MICROSOFT WORD™, for example, the base XML version of the document is modified with custom classification properties which represent the classification portion markings and the overall document classification. The markings may be custom to the application or organization or may be defined as per the Intelligence Community Classification and Control Markings Manual also known as the CAPCO Guide.

High level functions are available to the user when composing a document through operation of the toolbar. These functions are also available if the user wants to apply classification information to an opened document that currently has no classification properties, or an opened document that already has assigned classifications. Classification selection can be forced on Save, Exit or Print from a pop-up dialog rather than presenting a classification toolbar. In addition a downgrade warning for preventing downgrades when Saving or Printing can also be provided. Although a word processing document is shown should be understood that the application of the classification criteria is equally applicable to any form of document, including but not limited to MICROSOFT WORD™, EXCEL™ and POWERPOINT™ formats. Any document creation product can be utilized which do not currently allow classification of documents.

FIG. 6 shows an example of document classification properties 600 inserted into document metadata. Document classification information can be added to documents generated by office productivity applications based on document-specific classification criteria properties. In this example under the document properties a custom label is created. The properties section 602 can define the classification criteria 604. Current document management systems do not modify the document in any way, as a result there are no visual markings in the document when it is opened in an application, that would identify the classification properties. Without visual markings the user has no easy way of identifying the classification of the document. The classification properties can be stored with the document properties provided in document metadata which may also be stored as XML properties in the document instead as MICROSOFT OFFICE™ custom properties, as shown in FIG. 12. Trusted label support can also be utilized in generating the classification properties by providing verification that the classification of the document has not been modified (tampered with) since document was saved. This is accomplished by computing a hash based on document properties as the document is being saved, and then re-computing the hash for comparison when the document is re-opened. The MICROSOFT™ CAPI encryption algorithms can be used to generate a hash which is used to verify the authenticity of the classification properties when the document is opened.

FIG. 7 presents a screen capture of an exemplary hierarchical tree in a Windows Registry 700. Each MICROSOFT OFFICE™ product supports the insertion of header/footer objects differently. MICROSOFT WORD™ allows the insertion of a header and a footer, in PowerPoint only footers are supported and in Excel header/footers are only visible on print. The registry entries 704 defined for each application enable an administrator to enter their requirements, but also result in a setup which is feasible for each product. The method used to implement this is a Windows registry tree which accommodates different settings for Word, Excel and PowerPoint. The entries 706 defines the behaviour of the toolbar within the application and how the classification criteria are applied to the document itself.

The classification toolbar can also provide built-in integration for users of the MICROSOFT WINDOWS™ Rights Management Services (RMS) platform. Administrators can define associated RMS permissions such as Read, Full Control, Printing, Copy and Paste, and document expiration based on the classification label chosen. The RMS permissions or templates are defined within the MICROSOFT™ RMS Administration tool. Once these RMS permissions are defined they can be associated with classification criteria. This is done via Windows registry settings that indicate to the document classification toolbar if RMS protection should be automatically assigned based on a classification selection by the user. If RMS protection is to be applied, then another Windows registry would be used to indicate what protection should be assigned for each classification. As an example, a presentation assigned an HR ONLY label could be automatically assigned RMS permissions that would not allow anyone outside the HR department to view the presentation. The Document Classification Administration tool sets the correct Windows Registry settings based on the configuration selected by the administrator. These settings can then be applied to user desktops using scripts or MICROSOFT™ Group Policy.

FIG. 8 shows an classification administration tool window 800. The classification levels 802 of the toolbar are defined by selecting a specific level and associating criteria or tags 804 with the level. A toolbar label 806 can then be associated with the level in addition to a visual tooltip 808. Each level can be defined independently or be conditional on the previous level. Default selection can also be applied to enforce specific document attributes and visual markings. The administration tool also allows the administrator to predefine all possible classification selections and allows for automatic policy enforcement based on the classifications selected by the user. For instance the document could be automatically encrypted & protected using third party encryption schemes, such as digital rights management protection. Automatic logging of all classification actions by the user, which can be used to audit user compliance. The software can be configured to log all classification warnings, classification errors, or all classification events (who classified, when, classification properties assigned, name of document etc). The software writes this log information to the user's local Windows Event Log in a special folder. The administrator can perform the following actions: customize the list of labels you want to use; administrator can define default labels; define if/when the label(s) will appear in the presentation footer; define if/when the label(s) will appear in the presentation notes header/footer; force the user to make an explicit selection of a label before saving or printing the presentation; and turn on the trusted labels feature to ensure classification integrity.

Administrator defined settings are captured in the configuration file which is the central source of configuration information. The configuration file may be local on the computer 108, 110 and 112 or be provided by the document server 104. This enables customization of the list of labels for classification; ability for administrator to configure warnings or prevent users from downgrading classifications; ability for administrator configuration to apply different customized headers, footers and watermarks depending on the classification selected; administrator can define default labels; define if/when the label(s) will appear in the document title or file name; define the formatting and color of any visual marking text within the document such as the header or footer portions; define if/when the label(s) will appear including the ability to display abbreviations of the classifications; force the user to make an explicit selection of a label before saving; and sort and search a PC's or network's document database based on the document's classification.

FIGS. 9 and 10 show a method for executing a classification toolbar and generating an document containing classification properties. At step 902 a user creates or opens a document using a productivity application. The document may be opened/created within an application or selected outside of the application in the operating system interface thus invoking the application to executed at step 904. At step 906 the classification toolbar is presented within the document. Based upon the defined administration policy of the classification the toolbar can then be populated with classification selection (for example function COffice Document::Enable Command Bar) at step 908. As previously noted the toolbar may alternatively only be presented at the end of the document creation process. The population criteria may be a default setting or may utilize existing classification settings previously associated with the document. The user can then select a first classification level at step 910 (for example function Set Dropdown Selection). If multiple classification level policies are implemented, YES at step 912, the next menu selection can then be made available at step 910. The selection of the next level of classification may be related to the previous level of classification selected, for example each selection in the first level may have a different subset of selections available in the second or subsequent levels. If no more classification levels are required, NO at step 912, the input is validated at step 914. Validation may be performed by the server or based upon rules contained within the client or done locally based on the administration policy. If the input is valid, YES at 914, as shown in FIG. 10, it is determined if classifications are assigned at step 1002. If no classification are assigned, NO at step 1002, step 910 is re-executed to require user input. If the classifications are assigned, YES at step 1002 the associated visual cues are added to the document at step 1004 and the document classification properties can be applied at step 1004. The document can then be saved, printed or transmitted with the classification.

FIG. 11 shows a method for executing a classification toolbar for classification marking a portion of a document. At step 1102 a user selects to classify a portion of document content, such as a sentence, paragraph, or an image for classification marking. It is assumed that the toolbar is already present, but it may be invoked if it is already not available. The population criteria may be a default setting or may utilize existing classification settings associated with the document, if previously defined. The user can then select a first classification level at step 1104 (for example function COffice Document::Enable Command Bar). If multiple classification level policies are implemented, YES at step 1106, the next menu selection can then be made available at step 1104. The selection of the next level of classification may be related to the previous level of classification selected, for example each selection in the first level may have a different subset of selections available in the second or subsequent levels. If no more classification levels are required, NO at step 1106, the input is validated at step 1108. Validation may be performed by the server or based upon rules contained within the client or done locally based on the administration policy. If the input is valid, YES at 1108, the associated visual cues and visual markings, such as specific graphics or icons, are added to the selection portion at step 1110. At this step XML properties representing the classification selections are written into the XML representation of the document. It is then determined if the selection impacts the overall document classification at step 1112. If the selected portion classification is higher than the document classification, then the document classification properties will also be updated to reflect the change, YES at step 1112. The document properties are then updated at step 1114. The document can then be saved, printed or transmitted at step 1116. If the classification does not impact the overall document classification, NO at step 1112, then the document can then be saved, printed or transmitted with the classification criteria at step 1116. At step 1114 the overall document visual cues of the document may also have to be updated if the classification criteria selected impact the overall document classification. For example, if the document was original UNCLASSIFIED and a portion of text was identified as SECRET, the overall document classification would be upgraded to SECRET.

FIG. 12 shows XML document classification properties 1200 as represented in XML in a MICROSOFT WORD 2007 document. The classification properties are written to the custom properties file within the MICROSOFT WORD 2007 XML representation (docx file). As an example, this document has a Caveat property (TitusCorpidCaveat) 1202 of ReltoNATO (Release to NATO). All of these classification properties are accessible to outside programs via normal XML programming tools.

FIG. 13 shows a portion of the document 1300 of FIG. 5 in XML and the identifying classification and portion marking. The portion classification markings are written to the document.xml file that is part of the XML representation of a MICROSOFT WORD™ 2007 document (docx file). The custom XML inserted as a result of portion classification starts at the line that says CustomXML 1302. A custom XML schema representing the classification properties has been added to the base schema implemented by MICROSOFT for WORD™ 2007 documents. In this example the user has classified the text “This paragraph will be classified” 1304. The text corresponds to what is currently in FIG. 5, section 526. Within this property you can see the actual text that has been portioned marked. The custom XML indicates that this portion has been classified as SECRET and ReltoUSA_CAN (Release to USA and Canada). Using XML to represent classification of portions means they are accessible to outside programs via normal XML programming tools. As an example it would be easy to write a document redaction tool which would redact a document based on the XML portion classifications.

FIG. 14 shows an illustration of dynamic toolbar population based on user classification selection. Toolbar 1400 shows a first classification selection 1402 of UNCLASSIFIED. Based upon the selected classification the second classification criteria 1404 is populated with the criteria selection and entries associated with the first classification. In this example the UNCLASSIFIED selection results in the dynamic selection only one additional classification property of ‘Document Status’ and the associated entries. In contrast, in toolbar 1410, if the first classification criteria 1412 is selected to be SECRET, the three additional classification criteria are dynamically generated. The secondary classification criteria 1414 is a ‘Caveat’ selection property; third classification criteria 1416 in this case entitled ‘Derived From’; and fourth classification criteria 1418 entitled ‘Classified By’. In addition to independent field 1420 entitled document status, which may be tied back to the original SECRET classification and not dependent on the remaining classification selections. Each of the subsequent criteria may have dependent classification criteria that are dynamically generated based upon the user selections.

The following logic describes some example modules in the software and the methods associated with those modules. It also describes the events associated with each module. The COfficeDocument module contains the following methods:

i. AddHeaderFooter

ii. BuildPropertyString

iii. CalcDropdownWidths

iv CheckDowngrade

v. Cleanup

vi. CreateCommandBar

vii. CreateHash

viii. EnableCommandBar

ix. EnableSecondLevel

x. ExtractFrom Signature

xi. GetClassificationList

xii. GetDropdownSelections

xiii. GetProperty

xiv. GetSignatureShape

xv. HasClassifications

xvi. HashProperties

xvii. HasSignature

xviii. Has ValidProperties

xix. Has ValidPropertiesHashed

xx. Initialize

xxi. InsertFieldCode

xxii. InsertSignature

xxiii. InsertTitusTemplate

xxiv. Invoke

xxv. ProcessCommand

xxvi. ReadBuiltlnProperty

xxvii. ReadSignature

xxviii. SelectClassifications

xxix. SetDropdownSelections

xxx. SetHeader

xxxi. SetRMSPermission

xxxii. SetWatermark

xxxiii. UpdateClassifications

xxxiv. UpdateFleaderFooter

xxxv. ValidClassifications

xxxvi. WriteClassifications

The CClassificationList module contains the following methods:

xxxvii. ReadC lassi ficationsFromDocument

xxxviii. WriteClassificationsToDocument

xxxix. WritePlaceholdersToDocument

The CWordApplicationEventhandler module contains the following methods:

xl. AddOfficeDocument

xli. Cleanup

xlii. CleanupStrayDocuments

xliii. CreateHelpAbout

xliv. FindOfficeDocument

xlv. Initialize

xlvi. Invoke

xlvii. ProcessCommand

The following provide more detail on the actual methods:

i. bool COfficeDocument::AddHeaderFooter(Word::RangePtr pRange, bool fInsert)

Summary: Adds text to a header/footer

Parameter pRange: Range to add too

Parameter fInsert: Can we insert into the document

Returns: Success of adding text

Determine if any of the fields in the range match the value for the first property or match the value for the second property

For all fields in range

If the value for the first property was not found and we can insert

-   -   Call InsertFieldCode

If the value for the second property was not found and we can insert

-   -   Call InsertFieldCode

ii. std::string COfficeDocument::BuildPropertyString(Word:: DocumentPtr pDocument)

Summary: Combine statistics from document and classifications into one string

Parameter pDocument: Document to get properties from

Returns: String containing the properties

iii. void COfficeDocument::CalcDropdownWidths( )

Summary: Calculate the width for each dropdown

iv. bool COfficeDocument::CheckDowngrade( )

Summary: Determines if the classification level is okay in terms of downgrade

Returns: True if the save is allowed

If classification downgrade has occurred

-   -   Show warn or prevent message to user     -   If downgrading document is okay         -   Prevent future warnings from displaying         -   Return true     -   Else         -   Return false

v. void COfficeDocument::Cleanup( )

Summary: Cleanup the commandbar

vi. void COfficeDocument::CreateCommandBar(bool fTampered)

Summary: Set up our custom toolbar

Parameter flampered: Has the document been tampered with

Calls GetClassificationList

Adds a new toolbar

Adds the dropdowns to our toolbar

Calls EnableCommandBar

Calls GetDropdownSelections

Calls WriteClassifications

vii. bool COfficeDocument::CreateHash(std::string strData, std::string& strHashedData)

Summary: Creates a hash of the data

Parameter strData: Data to hash

Parameter strHashedData: Hash of data

Returns: Hash creation success

Use the Crypt APT to create a hash of the data

viii. bool COfficeDocument::EnableCommandBar(bool fEnable)

Summary: Enable or disable our command bar

Parameter fEnable: Enable CommandBar

Returns: True if CommmandBar enabled

Calls SetDropdownSelections

Enables or Disables CommandBar

Calls EnableSecondLevel

ix. void COfficeDocument::EnableSecondLevel(bool bFirstEnabled)

Summary: Enables second Level Dropdown

Parameter bFirstEnabled: Enabled second level

x. std::string COfficeDocument::ExtractFromSignature(std::string strSignature, std::string strName)

Summary: Extracts a value of a name-value pair from the signature

Parameter strSignature: Signature to extract from

Parameter strName: Name of name-value pair to extract

Returns: Value of name-value pair to extract

xi. CClassificationList* COfficeDocument::GetC lassificationList(bool fTampered)

Summary: Returns the classification list

Parameter (Tampered: Has the document been tampered with

Returns: Classification list

If we have previously set the classification list

-   -   return that classification list

Else

-   -   Create new classification list     -   If document has not been tampered with         -   Call ReadClassificationsFromDocument     -   return the new classification list

xii. bool COfficeDocument::GetDropdownSelections( )

Summary: Retrieve the dropdown selections from the toolbar

Returns: If dropdown selection has changes since we last checked

Calls GetClassificationList

Get the selection for each dropdown

xiii. STDMETHODIMP COfficeDocument::GetProperty(LPDISPATCH pDisp, LPOLESTR pszName, VARIANT* pvResult)

Summary: Retrieve a named property from the document

Parameter pDisp: Object to get property from

Parameter pszName: Name of property

Parameter pvResult: Value of property

Returns: Success

xiv. Word::ShapePtr COfficeDocument::GetSignatureShape (Word::_Documentptr Pdocument, Bool Fcreatenew)

Summary: Returns the signature shape that matches our signature name from the document

Parameter pDocument: Document to get signature shape from

Parameter fCreateNew: Create a new shape if requested

Returns: The signature shape

Match all shape names against our signature name

If a match is found

-   -   return the match

Else

-   -   If we can create a new shape         -   Add a label to the document with the signature name

xv. bool COfficeDocument::HasClassifications(Word::_DocumentPtr pDocument)

Summary: Determines if the document has classifications

Parameter pDocument: Document to check

Returns: True if the document has classifications

Calls ReadClassificationsFromDocument

xvi. bool COfficeDocument::HashProperties(Word::_DocumentPtr pDocument)

Summary: Creates a signature of the document properties

Parameter pDocument: Document to get properties from

Returns: Success of creating hash

Calls BuildPropertyString

Calls CreateHash

Calls InsertSignature

xvii. bool COfficeDocument::HasSignature(Word::_DocumentPtr pDocument)

Summary: Determines if the document has a signature

Parameter pDocument: Document to check

Returns: True is document has a signature

Calls GetSignatureShape

xviii. bool COfficeDocument::HasValidProperties(Word::_DocumentPtr pDocument)

Summary: Determine if the document has valid properties

Parameter pDocument: Document to check

Returns: True if valid Properties

Return False if we can't find all of our document properties

xix. bool COfficeDocument::HasValidPropertiesHashed (Word::_DocumentPtr pDocument)

Summary: Determines if the hash in the signature matches the current document

Parameter pDocument: Document to check

Returns: True if signature matches properties of document

Calls ReadSignature on document

Calls ExtractFromSignature on the signature

Calls BuildPropertyString on document

Calls CreateHash

Compares hash from document and hash just created

xx. void COfficeDocument::Initialize(LPDISPATCH/*lpDispatch*/)

Summary: Get the handle to the window for the document

Parameter IpDispatch: unused

xxi. bool COfficeDocument::InsertFieldCode(Word::FieldPtr pField, LPCSTR szName)

Summary: Insert a new field code using the given property name

Parameter pField: Field to insert into

Parameter szName: Name of document property

Returns: Success of insertion

xxii. void COfficeDocumentAnsertSignature(Word::_DocumentPtr pDocument, std::string strValue)

Summary: Inserts the text into the signature shape

Parameter pDocument: Document to insert signature into

Parameter strValue: Value to put in signature

Calls GetSignatureShape

Sets the text of the signature shape

xxiii. bool COfficeDocumentAnsertTitusTemplate( )

Summary: Insert a Word template into the document

Returns: True if template inserted

Open a named word template file (.dot)

Copy the contents of the template document into the current document

xxiv. STDMETHODIMP COfficeDocument::Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr)

Summary: Event handler for COfficeDocument

Parameter dispIdMember: Event type

Parameter riid: Interface type

Parameter Icid: unused

Parameter wFlags: unused

Parameter pDispParams: unused

Parameter pVarResult: unused

Parameter pExcepInfo: unused

Parameter puArgErr: unused

Returns: Success

New Event:

-   -   Set Active to true     -   Set Active Window to current document

Open Event:

-   -   Set Active to true     -   Set Active Window to current document

Close Event:

-   -   Set Active to false     -   Unset Active Window to current document

xxv. HRESULT COfficeDocument::ProcessCommand(int nControllD, int nCommand, bool fMakeDirty)

Summary: Process commands sent from the toolbar

Parameter nControllD: What control is sending the command

Parameter nCommand: unused

Parameter fMakeDirty: unused

Returns: Success

If Control is first level dropdown

-   -   Calls GetDropdownSelections     -   Calls EnableSecondLevel     -   Calls WriteClassifications

Else If Control is second level dropdown

-   -   Calls GetDropdownSelections     -   Calls WriteClassifications

Else if Control is third level button

-   -   Calls SelectClassifications     -   Calls WriteClassifications

xxvi. std:: string COfficeDocument::ReadBuiltInProperty(Word:: DocumentPtr pDocument, std::string strPropertyName)

Summary: Return a string for the named built in property

Parameter pDocument: Document to read from

Parameter strPropertyName: Name of property to read

Returns: Value of property

xxvii. std::string COfficeDocument::ReadSignature(Word::_DocumentPtr pDocument)

Summary: Gets the text from the signature shape

Parameter pDocument: Document to read from

Returns: Text of signature

Calls GetSignatureShape\

xxviii. bool COfficeDocument::SelectClassifications( )

Summary: Shows Select Classification Dialog

Returns: Classifications set from dialog

Calls GetClassificationList

Shows Select Classifications Dialog <<Screenshot of dialog>>

xxix. void COfficeDocument::SetDropdownSelections( )

Summary: Set the selections on each dropdown

Calls GetClassificationList

Set the selection for each dropdown

xxx. void COfficeDocument::SetHeader(bool flnsert)

Summary: Updates or inserts text in all headers and footers

Parameter flnsert: Are we allowed to insert text into the header if it doesn't exist already

For all sections of the document

Calls UpdateHeaderFooter on the PrimarylleaderRange

-   -   Calls UpdateHeaderFooter on the FirstPageHeaderRange

Calls UpdateHeaderFooter on the EvenPageHeaderRange

-   -   Calls UpdateHeaderFooter on the PrimaryFooterRange     -   Calls UpdateHeaderFooter on the FirstPageFooterRange     -   Calls UpdateHeaderFooter on the EvenPageFooterRange     -   If we can insert         -   If header required             -   Calls AddHeaderFooter on the PrimaryHeaderRange             -   Calls AddHeaderFooter on the FirstPageHeaderRange         -   Calls AddHeaderFooter on the EvenPageHeaderRange         -   If footer required             -   Calls AddHeaderFooter on the PrimaryFooterRange             -   Calls AddHeaderFooter on the FirstPageFooterRange             -   Calls AddHeaderFooter on the EvenPageFooterRange

xxxi. bool COfficeDocument::SetRMSPermission( )

Summary: Sets the RMS template to be applied to the document

Returns: Success

Get the RMS template assosiated with the current classification

Calls GetProperty passing in “Permission”

Retrieves current RMS template applied

If RMS is required

-   -   Enable RMS     -   Apply RMS template

Else

-   -   If RMS is on         -   Remove RMS

If RMS failed

-   -   Show RMS failure warn or prevent message

xxxii. void COfficeDocument::SetWatermark(std::string strClassification, bool finsert)

Summary: Updates or inserts the watermark using the given classification

Parameter strClassification: Text to put as the watermark

Parameter finsert: Are we allowed to insert a watermark if one isn't there

If the Titus watermark is found by matching the name of the watermark against a known name

-   -   If we require a watermark         -   Update the text of the watermark to reflect the current             classification     -   Else         -   Delete the watermark from the document

Else

-   -   If we require a watermark         -   Insert the watermark into the document with the text set to             the current classification

xxxiii. void. COfficeDocument::UpdateClassifications(bool fTampered)

Summary: Updates the header, footer, watermark, and selected fields within the document

Parameter fTampered: Has the document been tampered with

If the document has not been tampered with

-   -   Call SetWatermark     -   Call SetHeader

Update fields in the document that match our property names

xxxiv. bool COfficeDocument::UpdateHeaderFooter(Word::RangePtr& pRange, bool fInsert)

Summary: Update a header/footer

Parameter pRange: Range of a header/footer

Parameter flnsert: False to hide the text

Returns: True if update successful

For all fields in the range of the document

-   -   If the field code text matches the value for the first property         -   Change the hidden value and update it     -   If the field code text matches the value for the second property         -   Change the hidden value and update it

xxxv. bool COfficeDocument::ValidClassifications( )

Summary: Determines if all dropdowns that require a selection have been set

Returns: True if no dropdown requires a selection

xxxvi. bool COfficeDocument::WriteClassifications(bool fAskIfRequired, bool fTampered)

Summary: Writes classifications to document

Parameter fAsklfRequired: Ask for classifications if they are not valid

Parameter fTampered: Has the document been tampered with

Returns: True if classifications are valid

Calls GetClassificationList

Calls ValidClassifications

If ForceSelect is on and classifications are not valid

-   -   Calls SelectClassifications     -   Calls ValidClassifications

If the classifications are valid

Calls WriteClassificationsToDocument

Calls UpdateClassifications

xxxvii. short CClassificationList::ReadClassificationsFromDocument (Word::_DocumentPtr pDocument)

Summary: Reads the classifications from the document

Parameter pDocument: Document to read classifications from

Returns: Number of levels

Get the custom document properties from the document

Get the value from the named property for the first level

Get the value from the named property for the second level

Get the value from the named property for the third level

xxxviii. short CClassificationList::WriteClassificationsToDocument (COfficeDocument* pDocument)

Summary: Writes classifications into the custom document properties

Parameter pDocument: Document to write classification to

Returns: Zero

Gets the custom document properties

Adds or updates the value of the custom document property with the value of the first dropdown

Adds or updates the value of the custom document property with the value of the second dropdown

Adds or updates the value of the custom document property with the value of the third level

xxxix. short CClassificationList::WritePlaceholdersToDocument(COfficeDocument* pDocument)

Summary: Write classifications to document properties

Parameter pDocument: Document to write to

Returns: Zero

Add a custom document property for the first level

Add a custom document property for the second level

Add a custom document property for the third level

xl. COfficeDocument* CWordApplicationEventHandler::AddOfficeDocument (Word::_DocumentPtr pDocument, bool fNew, bool fIsE-mail)

Summary: Add the word document to our collection

Parameter pDocument: Document to add

Parameter fNew: Is the document new

Parameter fIsE-mail: Is the document an e-mail

Returns: COfficeDocument

Calls FindOfficeDocument

If that returns NULL

-   -   Calls HasClassifications     -   Calls HasValidPropertiesHashed     -   If those two calls return true         -   Calls HasSignature         -   If that call returns true             -   Set tampered to true     -   Create a new COfficeDocument     -   Calls CreateCommandBar     -   If tampered         -   Show Invalid Signature message     -   If new document and not an e-mail         -   Calls InsertTitusTemplate

xli. void CWordApplicationEventHandler::Cleanup( )

Summary: Cleanup help command bar

xlii. void CWordApplicationEventHandler::CleanupStrayDocuments( )

Summary: Remove any documents from our collection that we don't need anymore

xliii. void CWordApplicationEventHandler::CreateHelpAbout( )

Summary: Add a menu item to the Help About menu.

If the menu item is already there delete it

Add the menu item

xliv. COfficeDocument* CWordApplicationEventHandler::FindOfficeDocument (Word::_DocumentPtr pDocument)

Summary: Find the document in our collection

Parameter pDocument: Document to find

Returns: Document in our collection

Match the document in our collection with the one passed in

If matched

-   -   return that document

Else

-   -   return null

xlv. void CWordApplicationEventHandler::Initialize(LPDISPATCH/*lpDispatch*/)

Summary: Initialize event handler

Parameter lpDispatch: unused

Calls CreateHelpAbout

xlvi. STDMETHODIMP CWordApplicationEventHandler::Invoke(DISPID dispIdMember, REFIID riid, ECM lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr)

Summary: Event handler for CWordApplicationEventHandler

Parameter dispIdMember: Event type

Parameter riid: Interface type

Parameter lcid: Unused

Parameter wFlags: Unused

Parameter pDispParams: Parameters for event

Parameter pVarResult: Unused

Parameter pExcepInfo: Unused

Parameter puArgErr: Unused

Returns: Success

Quit Event:

-   -   Calls CleanupStrayDocuments

DocumentBeforePrint Event:

-   -   Calls WriteClassifications     -   Cancel print if classifications are not okay

DocumentBeforeSave Event:

-   -   If document is dirty and this is not an auto-save         -   Calls WriteClassifications on Document         -   Calls CheckDowngrade on Document         -   Calls SetRMSPermission on Document         -   Calls HashProperties on Document         -   If any of these methods return false             -   Cancel the Save

WindowActivate Event:

-   -   Calls FindOfficeDocument     -   If document not in collection         -   Calls AddOfficeDocument     -   Calls EnableCommandBar     -   Calls ShowCommandBar     -   Calls CleanupStrayDocuments

WindowDeactivate Event:

-   -   Calls FindOfficeDocument     -   Calls CleanupStrayDocuments

xlvii. HRESULT CWordApplicationEventHandler::ProcessCommand(int nControlID, int nCommand, bool fMakeDirty)

Summary: Show the about dialog

Parameter nControllD: ID of control

Parameter nCommand: unused

Parameter fMakeDirty: unused

Returns: Success

Show About dialog

It will be apparent to persons skilled in the art that many alternatives, modifications, and variations can be made without departing from the scope as defined in the claims. The method steps described may be embodied in sets of executable machine code stored in a variety of formats such as object code or source code. Such code is described generically herein as programming code, or a computer program for simplification. Clearly, the executable machine code may be integrated with the code of other programs, implemented as subroutines, by external program calls or by other techniques as known in the art.

A computing environment for executing the document creation application and the classification toolbar may be implemented as computer software in the form of computer readable code executed. The computing environment may be any number of computing or computer based platforms such as mobile devices, personal computer, notebook computers, or personal digital assistants. The computer comprises central processing unit (CPU) and memory. The CPU may be a single processor or multiprocessor system. In various computing environments, main memory and storage can reside wholly on computer environment, or they may be distributed between multiple computers.

Input devices such as a keyboard and mouse may be coupled to a bi-directional system bus of a computer for receiving input for creating documents within the web client. The keyboard and mouse are for introducing user input to a computer and communicating that user input to processor if required. Computer may also include a communication interface. Communication interface provides a two-way data communication coupling via a network link to a network by wired or wireless connection or may provide an interface to other host devices by a direct radio frequency connection. In any such implementation, communication interface sends and receives electrical, electromagnetic or optical signals which carry digital data streams representing various types of information. Communication between the communication interface unit and the network or host use electrical, electromagnetic or optical signals which carry digital data streams. The signals through the various networks and the signals on network link and through communication interface, which carry the digital data to and from computer, are exemplary forms of carrier waves transporting the information.

The computer processor or similar device may be programmed in the manner of method steps, or may be executed by an electronic system which is provided with means for executing these steps. The storage device may include both fixed and removable media, such as magnetic, optical or magnetic optical storage systems, Random Access Memory (RAM), Read Only Memory (ROM) or any other available mass storage technology. The storage device or media may be programmed to execute such method steps. As well, electronic signals representing these method steps may also be transmitted via a communication network.

The embodiments described above are intended to be illustrative only. The scope of the invention is therefore intended to be limited solely by the scope of the appended claims. 

1. A method for document classification in a word processing document creation application comprising: providing a security classification toolbar within an extendable mark-up language (XML) based word processing document in the document creation application, the classification toolbar providing a first classification selection input; populating the first security classification selection input in the classification toolbar with a plurality of security classification selections based upon pre-defined security classification criteria, the pre-defined classification criteria defining the plurality of security classification selections available to a user of the document creation application; receiving a first security classification selection input from the plurality of security classification selection, selected by the user, from the first security classification selections populated in the toolbar; applying visual cues associated with the selected first security classification input, the visual cues presented within editable text portions of the document in the document creation application to provide visual indication within the text of the document to identify that the document has been security classified based upon the selected first security classification; assigning security classification properties to the document metadata embedded in the XML based word processing document identifying the first selected security classification input; and verifying that the first security classification property in the document has not been tampered by calculating a hash of document properties when the document is saved and subsequently comparing the hash on retrieval and opening of the document.
 2. The method of claim 1 further comprising: receiving identification of a selected text portion of the document text from the user prior to receiving a first security classification selection input; wherein applying visual cues further comprises applying visual markers to the selected text portion identifying the selected first security classification, the markers inserted at the beginning and end of the selected text portion to identify that the text portion has been classified and wherein assigning extendable XML security classification properties to the document metadata embedded in the XML based word processing document identifying the first selected security classification input further comprises identifying the selected text portion with the selected security classification input.
 3. The method of claim 2 wherein the classification toolbar is generated by a COM API interface.
 4. The method of claim 3 wherein the security classification toolbar is provided by a MICROSOFT OFFICE™ 2007 ribbon bar and task pane.
 5. The method of claim 2 wherein the visual cues are font characteristics applied to text of the document selected from the group comprising: font color, font size, font type, or font effect.
 6. The method of claim 2 further comprising the steps of: determining if a second classification input is required based upon the first security classification input; and dynamically changing the security classification toolbar in order to prompt for the second classification selection input; and, assigning XML classification properties within the document metadata embedded in the XML based word processing document identifying the second classification input.
 7. The method of claim 2 further comprising: comparing selected text portion first security classification to current document security classifications; and wherein applying visual cues associated with the selected first security classification within the text of the document is performed when the selected text portion first security classification is a higher security classification level than the current document security classification; and wherein applying XML security classification properties within the document metadata representing the first security classification of the selected text portion is performed when the portion first security classification input is a higher security classification level than the current document security classification.
 8. The method of claim 7 wherein the visual cues comprises inserting a classification identifier into a body of the document.
 9. The method of claim 8 wherein the visual cues identifying the first security classification are inserted in header and footer of the document.
 10. The method of claim 9 wherein visual cues are inserted as a watermark in the document to identify the first security classification.
 11. The method of claim 7 wherein populating classification selections comprises retrieving the current security classification properties previously associated with the document and populating the toolbar security classification criteria with selections higher than the current security classification.
 12. The method of claim 2 wherein the pre-defined security classification criteria are defined relative to one or more security levels, sensitivity levels, intended distribution groups or retention level.
 13. The method of claim 2 further comprising logging all classification actions taken by a user in a classification information database.
 14. The method of claim 2 further comprising forcing the user to select classification properties before a document is stored, printed, or transmitted.
 15. A non-transitory computer readable medium containing instructions for providing document classification in a word processing document creation application, the instructions which when executed by a processor performing: providing a security classification toolbar within an extendable mark-up language (XML) based word processing document in the document creation application, the classification toolbar providing at least a first classification selection input; populating the first security classification selection input in the classification toolbar with a plurality of security classification selections based upon pre-defined security classification criteria stored in the memory, the pre-defined classification criteria defining the plurality of security classification selections available to a user of the document creation application; receiving a first security classification selection input from the plurality of security classification selection, selected by the user, from the first security classification selections populated in the toolbar; applying visual cues associated with the selected first security classification visual cues presented within editable text portions of the document in the document creation application to provide visual indication within the text of the document to identify that the document has been security classified based upon the selected first security classification; assigning classification properties to the document metadata embedded in the XML based word processing document identifying the first selected security classification input; and verifying that the first security classification property in the document has not been tampered by calculating a hash of document properties when the document is saved and subsequently comparing the hash on retrieval and opening of the document. 